package cn.gdcp.broadcast;

import android.content.BroadcastReceiver;
import android.content.Context;
import android.content.Intent;

public class TimeBroadcast  extends BroadcastReceiver {
       private TimeInterface timeInterface;

    public TimeBroadcast(TimeInterface timeInterface) {
        this.timeInterface = timeInterface;
    }

    @Override
    public void onReceive(Context context, Intent intent) {
                timeInterface.TimeUpdate();
    }
}
